package com.zhongyu.scheduler.consumer.service;

import com.zhongyu.comm.util.OrderException;
import com.zhongyu.comm.vo.CreateOrderVo;
import com.zhongyu.scheduler.consumer.vo.CinemaSeatVo;
import com.zhongyu.scheduler.consumer.vo.SeatArrayVo;

import java.util.List;

public interface SchedulerSeatService {

    SeatArrayVo queryOriginalCinemaSeatArray(Integer scheduleId);

    CinemaSeatVo queryCinemaSeatArrayByScheduleId(Integer scheduleId, Integer cinemaId);

    String lockSeatAndUpdate(CreateOrderVo createOrderVo) throws OrderException;
}
